package com.javasm.adminapi.module.system.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.javasm.adminapi.module.system.dao.SysPermissionDao;
import com.javasm.adminapi.module.system.dto.MenuAndUrl;
import com.javasm.adminapi.module.system.entity.SysPermission;
import com.javasm.adminapi.module.system.service.SysPermissionService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * 系统权限表(SysPermission)表服务实现类
 *
 * @author makejava
 * @since 2025-10-20 15:36:10
 */
@Service("sysPermissionService")
public class SysPermissionServiceImpl extends ServiceImpl<SysPermissionDao, SysPermission> implements SysPermissionService {

    @Resource
    SysPermissionDao sysPermissionDao;
    @Override
    public List<MenuAndUrl> getMenuAndUrl() {
        return sysPermissionDao.menuAndUrl();
    }
}
